package com.design.behaviorpattern;

/**
 * @author lizy4
 * @className LuggageRefund
 * @date 2020/11/15 21:43
 * @description
 */
public class LuggageManualRefund extends ARefund {
    // 默认不审核
    private boolean needVerify = false;

    public LuggageManualRefund(boolean needVerify) {
        this.needVerify = needVerify;
    }

    @Override
    void packageRefund() {
        System.out.println("开始进行行李手动退款......");
    }

    @Override
    protected boolean needVerify() {
        return this.needVerify;
    }

}
